function numberCountdown() {
    let canvas = document.getElementById("_canvas");
    let ctx = canvas.getContext("2d");
    let engine = new Engine(ctx);
    let layer = new Layer(ctx);
    engine.addLayer(layer);
    
    layer.create = function () {
        let number = 1000;
        let txtObj = new TextObject(number);
        txtObj.x = 200;
        txtObj.y = 400;
        txtObj.font = "200px Verdana";
        layer.addObject(txtObj)
        engine.addTimer(function (delta) {
            txtObj.text = --number;
        }, 1000);
    }
    engine.run();
    return engine;
}